﻿@model G15_Agent.Models.HoaDonKH

@{
    ViewBag.Title = "ActiveOderUser";
}


<h2>Kích hoạt</h2>
<h3>Bạn muốn kích hoạt hóa đơn khách hàng này?</h3>
<fieldset>
    <legend>Hóa đơn khách hàng</legend>

<div class="editor-label">
            @Html.LabelFor(model => model.MaHoaDon,"Mã Hóa Đơn")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaHoaDon)
            @Html.ValidationMessageFor(model => model.MaHoaDon)
        </div>

     <div class="editor-label">
            @Html.LabelFor(model => model.NguoiDung.HoTen, "Tên khách hàng")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NguoiDung.HoTen)
            @Html.ValidationMessageFor(model => model.NguoiDung.HoTen)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NgayLap,"Ngày lập")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NgayLap)
            @Html.ValidationMessageFor(model => model.NgayLap)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DonGia,"Đơn giá")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DonGia)
            @Html.ValidationMessageFor(model => model.DonGia)
        </div>

        


   
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Kích hoạt" /> |
        @Html.ActionLink("Back to List", "HoaDonKH")
    </p>
}
